package com.wonders.frame.entity;


import com.wonders.frame.core.entity.EntityTemplate;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@SuppressWarnings("serial")
@Entity
@Data
@Table(name = "auth_role_permission")
public class AuthRolePermission extends EntityTemplate {

    @Column(name = "permission_id")
    private String permissionId;
    @Column(name = "role_id")
    private String roleId;

    @Override
    public String toString() {
        return "AuthRolePermission{" +
                "permissionId='" + permissionId + '\'' +
                ", roleId='" + roleId + '\'' +
                ", id='" + id + '\'' +
                ", removed=" + removed +
                '}';
    }

}    
